// IMyService.com.cy.src.aidl
package com.cy.src.aidl;

import com.cy.src.aidl.IMyServiceCallback;
import android.os.Bundle;
//import com.cy.src.aidldata.Packet;

// Declare any non-default types here with import statements

interface IMyService {
//    /**
//     * Demonstrates some basic types that you can use as parameters
//     * and return values in AIDL.
//     */
//    void basicTypes(int anInt, long aLong, boolean aBoolean, float aFloat,
//            double aDouble, String aString);

    String helloWorldAidl(String name);


    void sendData(String str);

    //发送byte数组
    void send(in byte[] bundle);

    void send2(in Bundle bundle);


    //注册回调
    void registerCallback(IMyServiceCallback callback);

    void unregisterCallback(IMyServiceCallback callback);
}
